﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WCF_CM
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "GroupAttrib" in both code and config file together.
    public class GroupAttribService : IGroupAttribService
    {
        
        public string AssignAttribToGroups(Attrib attribName, Group Groups) //to assign an attribute to one or more groups
        {
            string result = string.Empty;
            //code
            return result;
        }

        public string AssignValueToGroup(int Value, Group Groups) // to assign a value to each group
        {
            string result = string.Empty;
            //code
            return result;
        }

        public List<GroupAttribService> GetGroupAttribs()
        {
            GroupAttribService GroupAttrib = new GroupAttribService();
            return GroupAttribs;
        }



        public void DisplayAttributesOfGroups()
        {
            GroupAttribService ga = new GroupAttribService();
            ga.GetGroupAttribs();
        }



        public void DisplayAttributes()
        {
            Attrib a = new Attrib(); //use the GetAttribs() method to allow you to display all attriubtes on UI
            a.GetAttribs();
        }

        public string AddRows() // to allow the user to add rows in the database
        {
            string result = string.Empty;
            return result;
        }

        public string UpdateRecords()
        {
            string result = string.Empty;
            return result;

        }

    }
}
